<!-- include milestone partial for this project-->

<?php use_stylesheet('project.css') ?>

<?php use_helper('Text') ?>
<div id="task">
  <table width="100%" border="0" cellpadding="0" cellspacing="0" background="/images/mainpage-sliced_16.jpg">
    <tr>
      <td width="20" height="40">&nbsp;</td>
      <td class="style5" style="border-right:solid 1px #FFFFFF;"><?php echo "Project {".$project->getProjectname()."}" ?>&nbsp;<font size="1" style="font-weight:bold">created on <?php echo $project->getDateTimeObject('createdate')->format('m/d/Y') ?></font></td>
    </tr>
  </table>
 
  
  <div class="description">
  <div class="style3"><br/><strong>Description: </strong><?php echo $project->getDescription() ?>
  </div>
  </div>
 
<?php include_partial('milestone/list', array('milestones' => $project->getMilestones(sfConfig::get('app_max_tasks_to_show')))) ?>  
 
  <div style="padding: 20px 0">
  <div class="style3">
  <?php
  if ($sf_user->hasPermission("project.update"))
  {
  ?>
    <a href="<?php echo url_for('project/edit?projectid='.$project->getProjectid()) ?>">
      Edit
    </a>&nbsp;
  <?php
  }
  ?>
  <a href="<?php echo url_for('project/index') ?>">List</a>
  </div>
  </div>
</div>